<div class="login" ng-controller="loginController">
  <div class="wrap">
    <div class="left">
      <img src="/images/logo.png" alt="">
      <div class="desc">
        <p>
          智游学生管理系统
        </p>
        <section> 智游教育</section>
        <section> ——IT培训的黄埔军校</section>
      </div>
    </div>
    <div class="xian">
      <img src="/images/xian.png" alt="">
    </div>

    <div class="right">
      <div class="yanzheng">
        <img src="/images/yanzheng.png" alt="">
        <span>安全登录</span>
        <span class="question">
          <i class="fa fa-question-circle-o" aria-hidden="true"></i>
        </span>
      </div>
      <div class="tip" ng-show="flag">
        <p>1.本系统登录账号为教师工号或学生学号</p>
        <p>2.本系统内部使用，不提供注册功能，学生默认密码是123456，请在首次登录后重置密码</p>
        <p>3.本系统未登录页面不提供页面重置密码服务，如果忘记密码请及时联系管理员</p>
      </div>
      <div class="myform">
        <form name="loginForm" novalidate>
          <div class="form-group">
            <span>
              <img src="/images/zhanghao.png" alt="">
            </span>
            <input type="text" class="form-control" id="" placeholder="请输入学号/工号" ng-model="account" required>
          </div>

          <div class="form-group">
            <span>
              <img src="/images/mima.png" alt="">
            </span>
            <input type="password" class="form-control" id="" placeholder="请输入密码" ng-model="password" required>
          </div>
          <div>
            <div class="radio">
              <span>
                <label>
                  <input type="radio" name="type" value="0" ng-model="identity" required> 我是教师
                </label>
              </span>
              <span>
                <label>
                  <input type="radio" name="type" value="1" ng-model="identity" required> 我是学生
                </label>
              </span>

            </div>
          </div>
          <button type="button" class="btn" ng-click="login()" ng-disabled="loginForm.$invalid">登录</button>
        </form>
      </div>
    </div>
  </div>
</div>